<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>瀑布流布局</title>
    <link rel="stylesheet" href="fall.css">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14"></script>
</head>
<body>
    <div class="container" id="app">
        <div class="item" v-for="item in items">
            <img v-bind:src="'images/' + item + '.jpg'" alt="">
        </div>
        <div class="item" v-for="item in items">
            <img v-bind:src="'images/' + item + '.jpg'" alt="">
        </div>
        <div class="item" v-for="item in items">
            <img v-bind:src="'images/' + item + '.jpg'" alt="">
        </div>
    </div>
    <script>
        var container = new Vue({
            el: '.container',
            data: {
                items: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
            }
        })
    </script>
</body>
</html>